﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.GC.Dto
{
    [ExcelExporter(Name = "报表数据", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetYTBCPSHWHSQBOutput
    {
        /// <summary>
        /// 发起人名称
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string UserName { get; set; }

        /// <summary>
        /// 流程ID
        /// </summary>
        [ExporterHeader(DisplayName = "单据号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public string CreateTime { get; set; }


        /// <summary>
        /// 生产工厂
        /// </summary>
        [ExporterHeader(DisplayName = "生产工厂")]
        public string ProductionPlant { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        [ExporterHeader(DisplayName = "商机号")]
        public string OpportunityNumber { get; set; }

        /// <summary>
        /// 项目状态
        /// </summary>
        [ExporterHeader(DisplayName = "项目状态")]
        public string ProjectStatus { get; set; }

        /// <summary>
        /// 项目所在地区
        /// </summary>
        [ExporterHeader(DisplayName = "项目所在地区")]
        public string ProjectArea { get; set; }

        /// <summary>
        /// 商机名称
        /// </summary>
        [ExporterHeader(DisplayName = "商机名称")]
        public string OpportunityName { get; set; }


        /// <summary>
        /// 品保人员名称
        /// </summary>
        [ExporterHeader(DisplayName = "品保人员名称")]
        public string QAUsersName { get; set; }

        /// <summary>
        /// 销售人员手机号
        /// </summary>
        [ExporterHeader(DisplayName = "销售人员手机号")]
        public string SellUserPhoneNumber { get; set; }

        /// <summary>
        /// BOM选项
        /// </summary>
        [ExporterHeader(DisplayName = "BOM选项")]
        public string IsFirstBomEdition { get; set; }


        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
    }
}